from django.db import models


class basemodel(models.Model):
    sort = models.IntegerField(default=0, verbose_name="排序")
    isdel = models.BooleanField(default=False, verbose_name="是否有效")
    addtime = models.DateTimeField(auto_now_add=True)

    class Meta:
        ordering = ['sort']
        abstract = True
